package com.design_pattern._02_structure._06_bridge;

public interface ColorAPI {
    void paint();
}

class BlueColorAPI implements ColorAPI {
    @Override
    public void paint() {
        System.out.println("画上蓝色");
    }
}

class RedColorAPI implements ColorAPI {
    @Override
    public void paint() {
        System.out.println("画上红色");
    }
}
